package com.stiove.whwh.service;

import com.stiove.whwh.vo.Result;
import com.stiove.whwh.vo.params.UserLoginParams;
import com.stiove.whwh.vo.params.WxUserLoginParams;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface UserService {
    Result userLogin(String phone, String smsCode);

    Result userRegister(UserLoginParams user);

    Result send_message(String phone);

    Result updateHeadImg(MultipartFile img) throws IOException;

    Result updateUsername(String username);

    Result userInfo();

    Result wxUserLogin(WxUserLoginParams user);
}
